<?php	
//数据库
	define("DBHOST", 'localhost');
	define("DBUSER", 'root');
	define("DBPWD", 'root');
	define("DBNAME", 'sysu');
	
//站名
	define("SITENAME", 'TeamStar');
	define("SITEURL", 'http://localhost/teamstar/');

//基本路径
	define("ABSPATH", dirname(__FILE__).'/');
	define("FUNCPATH", ABSPATH.'functions/');
	define("INCPATH", ABSPATH.'include/');
	define("UPLOADPATH", ABSPATH.'attachment/');
	define("UPLOADURL", SITEURL.'attachment/');
	define("UNSHAREDPATH", ABSPATH.'unshared/');
	define("UNSHAREDURL", SITEURL.'unshared/');
	define("TRASHPATH", ABSPATH.'trash/');
	define("PLUGINPATH",ABSPATH.'plugins/');
	define("PLUGINURL", SITEURL.'plugins/');

//函数
	require_once(FUNCPATH.'common.php');
	foreach (listFile(INCPATH) as $i)
	{
		require_once(INCPATH.$i);
	}

//主题路径
	define("THEMEPATH", ABSPATH.'theme/'.themeUsing().'/');
	define("THEMEURL", SITEURL.'theme/'.themeUsing().'/');
?>